<template>
    <div class="header">
        <div class="box">
            <img src="@/assets/homeImg/logo.0940ebb5.png" class="img">
            <common></common>
            <span class="span">
                <i class="iconfont icon-search"></i>
                <input type="text" placeholder="搜一搜">
                <i class="iconfont icon-cart"></i>
            </span>
        </div>
    </div>
</template>



<script>
import common from '@/components/appHome/CommonView.vue'
export default {
    components: { common },
    data() {
        return {
            flag: false,
        }
    },
    methods: {
    },
    computed: {

    },
    mounted() {
        this.$store.dispatch('getCate')
    }
}
</script>

<style lang="scss">
.header {
    width: 100%;
    height: 132px;

    .box {
        height: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        // position: relative;

        .img {
            height: 80px;
        }

        .span {
            width: 187px;
            height: 28px;
            display: flex;
            justify-content: space-around;
            align-items: center;
            border-bottom: 1px solid #e7e7e7;

            i {
                font-size: 22px;
            }

            input {
                box-sizing: border-box;
                height: 25px;
                border: none;
                outline: none;
            }
        }
    }
}
</style>